#ifndef BACKUPWIDGET_H
#define BACKUPWIDGET_H

#include <QtCore>
#include <QtGui>
#include <QtSql>


#include "ui_backupwidget.h"
#include "fbbackup.h"

class FBBackup;

class BackupWidget: public QWidget, private Ui::BackupWidget
{
Q_OBJECT

public:

BackupWidget();
~BackupWidget();

public slots:

void write_log(QString s);
void setSaveFileName();
void setDatabaseName();
void run_();
void enable_bbutton();
void close_backup();

signals:

private:

FBBackup * fbbackup;
QString path;

protected:

void closeEvent(QCloseEvent * e);

};

#endif // BACKUPWIDGET_H
